package com.baizhi.service;

import com.baizhi.entity.Product;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductService {
    public PageInfo<Product> selectAll(int pageNo,int pageSize);
    public void delete(int id);
    public void add(Product product);
    public Product selectById(int bookId);
    public void  update(Product product);
}
